package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 设备类型管理对象 tb_vm_type
 * 
 * @author nst
 * @date 2025-05-14
 */
public class VmType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String name;


    /** 设备容量 */
    @Excel(name = "设备容量")
    private Long channelMaxCapacity;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String ename;

    /** 最大上升速度（m/s） */
    @Excel(name = "最大上升速度", readConverterExp = "m=/s")
    private Double maxClimbSpeedMS;

    /** 最大下降速度（m/s） */
    @Excel(name = "最大下降速度", readConverterExp = "m=/s")
    private Double maxDescendSpeedMS;

    /** 最大飞行速度（m/s） */
    @Excel(name = "最大飞行速度", readConverterExp = "m=/s")
    private Double maxSpeed;

    /** 续航时间（空载，小时） */
    @Excel(name = "续航时间", readConverterExp = "空=载，小时")
    private String enduranceHourEmpty;

    /** 续航时间（满载，小时） */
    @Excel(name = "续航时间", readConverterExp = "满=载，小时")
    private String enduranceHourLoad;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setChannelMaxCapacity(Long channelMaxCapacity) 
    {
        this.channelMaxCapacity = channelMaxCapacity;
    }

    public Long getChannelMaxCapacity() 
    {
        return channelMaxCapacity;
    }
    public void setEname(String ename) 
    {
        this.ename = ename;
    }

    public String getEname() 
    {
        return ename;
    }
    public void setMaxClimbSpeedMS(Double maxClimbSpeedMS)
    {
        this.maxClimbSpeedMS = maxClimbSpeedMS;
    }

    public Double getMaxClimbSpeedMS()
    {
        return maxClimbSpeedMS;
    }
    public void setMaxDescendSpeedMS(Double maxDescendSpeedMS)
    {
        this.maxDescendSpeedMS = maxDescendSpeedMS;
    }

    public Double getMaxDescendSpeedMS()
    {
        return maxDescendSpeedMS;
    }
    public void setMaxSpeed(Double maxSpeed)
    {
        this.maxSpeed = maxSpeed;
    }

    public Double getMaxSpeed()
    {
        return maxSpeed;
    }
    public void setEnduranceHourEmpty(String enduranceHourEmpty) 
    {
        this.enduranceHourEmpty = enduranceHourEmpty;
    }

    public String getEnduranceHourEmpty() 
    {
        return enduranceHourEmpty;
    }
    public void setEnduranceHourLoad(String enduranceHourLoad) 
    {
        this.enduranceHourLoad = enduranceHourLoad;
    }

    public String getEnduranceHourLoad() 
    {
        return enduranceHourLoad;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("channelMaxCapacity", getChannelMaxCapacity())
            .append("ename", getEname())
            .append("maxClimbSpeedMS", getMaxClimbSpeedMS())
            .append("maxDescendSpeedMS", getMaxDescendSpeedMS())
            .append("maxSpeed", getMaxSpeed())
            .append("enduranceHourEmpty", getEnduranceHourEmpty())
            .append("enduranceHourLoad", getEnduranceHourLoad())
            .toString();
    }
}
